<?php

class Core_Form_Admin_I18n_Country extends Form
{
	function init()
	{
		$this -> addChild('text', 'id', array(
			'label' => 'Country ID',
		));

		$this -> addChild('text', 'codeiso2', array(
			'label' => 'ISO 2',
		));

		$this -> addChild('text', 'codeiso3', array(
			'label' => 'ISO 3',
		));

		$this -> addChild('text', 'codenumeric', array(
			'label' => 'Code numeric',
		));

		$this -> addChild('select', 'lang', array(
			'label' => 'Language',
			'required' => true,
			'multiOptions' => array(),
		));

		$this -> addChild('select', 'currency', array(
			'label' => 'Currency',
			'required' => true,
			'multiOptions' => array(),
		));

		$this -> addChild('select', 'timezone', array(
			'label' => 'Timezone',
			'required' => true,
			'multiOptions' => array(),
		));

		$this -> addChild('text', 'address_format', array(
			'label' => 'Address Format',
			'readonly' => true
		));

		$this -> addChild('select', 'has_postcode', array(
			'label' => 'Has postcode',
			'required' => true,
			'multiOptions' => array(
				'No',
				'Yes'
			)
		));
		$this -> addChild('group', 'buttons');
		$this -> buttons -> addChild('submit', '_submit') -> addChild('cancel', '_cancel');
	}

}
